#pragma once

/*!
 * \brief   Application settings
 */
struct Settings
{
  DWORD RefreshPeriod; //< Time in ms between refresh
  DWORD TrimMin; //< Minimum length of URL before auto-tr.im kicks in
  DWORD HomeMax; //< Maximum number of tweets to store in the Home tab

  BOOL NoBalloons; //< Currently allowing balloon notifications
  BOOL NoBalloonsByDefault; //< Allow balloon notifications at startup
  BOOL NoImages; //< Hide/don't download any images
  BOOL RememberMe; //< Store these settings in the registry?

  CString ScreenName; //< User's Twitter username
  CString Password; //< User's Twitter password

  CString TrimUser; //< User's tr.im username
  CString TrimPass; //< User's tr.im password

  CString SearchFilters; //< List of filters to hide some tweets, newline separated

  Settings() : RefreshPeriod(300000L), TrimMin(32L), HomeMax(100L), NoBalloons(FALSE), NoBalloonsByDefault(FALSE), NoImages(FALSE), RememberMe(FALSE)  { }
};

